package utils;

import java.util.Base64;

/**
 * @program: sporadic
 * @description:
 * @author: LHD   QQ:1727865856
 * @create: 2019-11-16 17:16
 **/
public class Base64Utils {
    /**
     * 解码base64
     * @param base64
     * @return
     */
    public static String base64Decode(String base64){
        byte[] decode = Base64.getDecoder().decode(base64);
        return new String(decode);
    }
}
